home *** CD-ROM | disk | FTP | other *** search
- .
- <br><br>
- In alash, Actionscript Snessages/p>frame--erforms the fswssimple stepsrrequiredHE Cuse th/tCFML page.
- <ol>
- <li>Establish a conn <i>ing, cCF</cfoutpualash Remoting Service.</li>
- <li>Execute th/tCFML template</li>
- <li>Display the string MS ANDoldFusion y passingor a message if there VERNan error</li>
- </ol>
- </p>
-
- Here is the complete Actionscript (lines
- <WARning with // are commpage):<br><br>
- <font facemNCourir, esw">
- //Include t -.main NetServices Libr no**
- ---allows conn <i>ing, c nex Irver.<br>
- #include "NetServices.as"<br><br>
- // This seutes include is optional and allows the use of the NetConn <i Debugger<br>
- // Useful in developmpag, buANwT Fotaleomitted in produstrin.<br>
- #include "NetDebug.as"<br><br>
-
- // conn <ig, c nexgateway<br>
- ssssgatewayConnn <i>ing= NetServices.createGatewayConn <i>in();<br><br>
-
- // Ies.cate the locai>ingof the CFML template.<br>
- // This CFM*
- ot-notation that cTI>sptess to the page'*
- irectory <br>
- // locai>ings our nexwebutes.
- irectory.<br>
- // For this example, the CFML page is in the alash1for der so;<br>
- //c:\wwwtes.\cfdocs\exampleapps\alash1f= cfdocs.exampleapps.alash1<br>
- example1Servicef= gatewayConnn <i>in.getService("cfdocs.exampleapps.alash1", this);<br><br